/******************************************************
  File: include/display.h
  Description: Audio Cup Display Update ( header )
  Author: Brant Anderson
  Date: 10/30/01
  Last Update: 10/30/01
  Status: Super Crap
  To Do: Everything
 ******************************************************/

#include "../include/lcd/sockets.h"

#ifndef SONGINFO
 #define SONGINFO
 #define MP3 10
 #define OGG 20
 typedef struct {
     int scroller;
     char artist[64];
     char album[64];
     char track[64];
     char title[64];
     
     char *playlist;
     char *filename;
     int ctype;
     int songnum;
     int loop;
 } SongInfo;
#endif


enum { NO, YES, SCROLL };

/** socket snd/recv **/
int sock;
char buf[8192];

/** hold menu info **/
char wTitle[20];
char wItem1[256];
char wItem2[256];
char wItem3[256];
int wVol;
int wTre;
int wBas;

/** hold music info **/
char wTrack[3]; /* Album Track Number */
int wGraph; /* Graph Range: 0:70 */
char wArtist[256]; /* Artist Name */
char wAlbum[256]; /* Album Title */
char wSong[256]; /* Song Title */
char wTime[5]; /* Time: mm:ss */

/** Determine Which Widgets Are Loaded **/
int Title = YES;
int Item1 = YES;
int Item2 = YES;
int Item3 = YES;
int Vol = YES;
int Tre = YES;
int Bas = YES;
int Track = YES;
int Graph = YES;
int Artist = YES;
int Album = YES;
int Song = YES;
int Time = YES;

/** dump string into tmp, send to socket **/
char tmp[320];

